package com.cljz.makepassenger.model.net.bean;

import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by apple on 2017/4/6.
 */

public class AdListBean implements IModel {


    /**
     * error_code : 0
     * msg :
     * data : [{"id":"26","ad_name":"banner1","link_type":"0","ad_link":"","ad_logo":"http://aaa.com//Public/uploads/2017-04-25/58febf46227ce_5_3.jpg","ad_logo_small":"http://aaa.com//Public/uploads/2017-04-25/58febf46227ce_1_1.jpg"},{"id":"27","ad_name":"banner2","link_type":"2","ad_link":"www.baidu.com","ad_logo":"http://aaa.com//Public/uploads/2017-04-25/58febf88d6131_5_3.jpg","ad_logo_small":"http://aaa.com//Public/uploads/2017-04-25/58febf88d6131_1_1.jpg"}]
     */

    private String error_code;
    private String msg;
    private List<DataBean> data;

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public static class DataBean {
        /**
         * id : 26
         * ad_name : banner1
         * link_type : 0
         * ad_link :
         * ad_logo : http://aaa.com//Public/uploads/2017-04-25/58febf46227ce_5_3.jpg
         * ad_logo_small : http://aaa.com//Public/uploads/2017-04-25/58febf46227ce_1_1.jpg
         */

        private String id;
        private String ad_name;
        private String link_type;
        private String ad_link;
        private String ad_logo;
        private String ad_logo_small;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getAd_name() {
            return ad_name;
        }

        public void setAd_name(String ad_name) {
            this.ad_name = ad_name;
        }

        public String getLink_type() {
            return link_type;
        }

        public void setLink_type(String link_type) {
            this.link_type = link_type;
        }

        public String getAd_link() {
            return ad_link;
        }

        public void setAd_link(String ad_link) {
            this.ad_link = ad_link;
        }

        public String getAd_logo() {
            return ad_logo;
        }

        public void setAd_logo(String ad_logo) {
            this.ad_logo = ad_logo;
        }

        public String getAd_logo_small() {
            return ad_logo_small;
        }

        public void setAd_logo_small(String ad_logo_small) {
            this.ad_logo_small = ad_logo_small;
        }
    }
}
